package com.etone.smartAudit.mapstruct;

import com.etone.smartAudit.domain.ProductMap;
import com.etone.smartAudit.dto.productMap.ProductMapDTO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.NullValueCheckStrategy;

/**
 * @author: sovy
 * @date: 2020/12/23
 * @description:
 */
@Mapper(componentModel = "spring", nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface ProductMapMapstruct {

    void copy2ProductMap(@MappingTarget ProductMap productMap, ProductMapDTO productMapDTO);
}
